package com.example.find_module;

import com.example.adapter_sdk.quick.BaseQuickAdapter;
import com.example.adapter_sdk.quick.BaseViewHolder;

public class FindAdapter extends BaseQuickAdapter<CollectEntity.DataBean.CollectData> {
    public FindAdapter() {
        super(R.layout.item_collect);
        addItemChildClick(R.id.find_follow_tv);
    }

    @Override
    public void convert(BaseViewHolder holder, CollectEntity.DataBean.CollectData item) {
        holder.setImage(R.id.find_collect_img,item.icon);
        holder.setText(R.id.find_collect_title,item.title);
        holder.setText(R.id.find_collect_intro,item.intro);
    }
}
